package com.itheima.controller.backend.Service.ServiceImpl;

import com.itheima.mapper.UserInfoMapper;
import com.itheima.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserInfoMapper userInfoMapper;

    public User getUserInfo(String username){
        return userInfoMapper.getUserInfoByUsername(username);
//        return null;
    }
}
